package com.example.service;

import com.example.domain.ResponseResult;
import com.example.domain.entity.News;

import java.util.List;

public interface NewsService {
    List<News> recommendMaxClick();

    List<News> recommendByTags(String tag);

    List<News> recommendByClickPercent();

    int[] recommendByAll(String tag);

    List<News> findById(int[] a);

    ResponseResult selectByTag();

    ResponseResult selectByLike();

    ResponseResult selectByClick();

    ResponseResult selectByFinishPercent();

    ResponseResult selectAll();
}
